import logging
log = logging.getLogger("test")

from base import Torrent, RTorrent

if __name__ == "__main__":
    logging.basicConfig(level=logging.DEBUG, format='%(levelname)s %(message)s')

    rt = RTorrent()
    for x in rt.torrents.values(): 
        if x.complete ==100:
            print x.name,x.complete,x.is_open
    for x in rt.get_methods(): print x
